package com.huike.business.mapper;

import java.util.List;

import com.huike.business.domain.TbBusiness;
import com.huike.business.domain.TbBusinessTrackRecord;

/**
 * 商机跟进记录Mapper接口
 * @date 2021-04-28
 */
public interface TbBusinessTrackRecordMapper {

    /**
     * 修改商机信息
     * @param business
     * @return
     */
    int updateTbBusiness(TbBusiness business);

    /**
     * 添加商机跟进信息
     * @param businessTrackRecord
     * @return
     */
    int saveTbBusinessTrackRecord(TbBusinessTrackRecord businessTrackRecord);

    /**
     * 商机跟进信息列表
     * @param businessId
     * @return
     */
    List<TbBusinessTrackRecord> selectTbBusinessTrackRecordListByBusinessId(Long businessId);

}